/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.remainspacemax.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 阈值控制Entity
 * @author Leon
 * @version 2019-04-12
 */
public class TRemainspaceMax extends DataEntity<TRemainspaceMax> {
	
	private static final long serialVersionUID = 1L;
	private String max;		// 剩余车位保留数量最大阈值
	
	public TRemainspaceMax() {
		super();
	}

	public TRemainspaceMax(String id){
		super(id);
	}

	@Length(min=1, max=4, message="剩余车位保留数量最大阈值长度必须介于 1 和 4 之间")
	public String getMax() {
		return max;
	}

	public void setMax(String max) {
		this.max = max;
	}
	
}